<?php
/**
 * File: web.php.
 * User: Yan<me@xiaoyan.me>
 * DateTime: 2017-12-20 9:10
 */
router()->get('/', \App\Controller\DefaultController::class);
router()->get('/a', \App\Controller\TestController::class, 'index');
router()->get('/weixin/auth', \App\Controller\WeixinController::class, 'auth');
router()->get('/weixin/bind', \App\Controller\WeixinController::class, 'bind');
router()->get('/vote/support', \App\Controller\VoteController::class, 'support');
router()->get('/vote/item', \App\Controller\VoteController::class, 'item');
router()->get('/admin/login', \App\Controller\ManageController::class, 'login');
router()->get('/admin/wechat_login_check', \App\Controller\ManageController::class, 'wechatLogin');
router()->get('/admin/', \App\Controller\ManageController::class);
router()->get('/admin', \App\Controller\ManageController::class);